/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ljWebMain;

import java.util.*;

/**
 *
 * @author 47
 */
public class Index {
    public Index(){}
    String message="Hello";
    public String getMessage(){
        return this.message;
    }

    public String getTime(){
        String str=null;
        java.util.Calendar cal=Calendar.getInstance();
        str=String.valueOf(cal.get(cal.YEAR))+"年"
                +String.valueOf(cal.get(cal.MONTH)+1)+"月"
                +String.valueOf(cal.get(cal.DATE))+"日";
        return str;
    }

}
